package com.eyas.business.service.common;

import com.eyas.business.model.jdbcEntity.table.KeyWorldsInfo;

import javax.servlet.http.HttpSession;
import java.util.List;

/**
 * @Auther: 王龙龙
 * @Date: 2019/3/7 17:14
 * @Description:
 */
public interface CommonService {
    /**
     * 字典查询
     * @param dcode
     * @return
     */
    public List<KeyWorldsInfo> dictionary(String dcode);

    /**
     * 删除数据，只给超级管理员用
     * @param tablename
     * @param primarykey
     * @param primaryval
     * @param session
     */
    public void deleteInfo(String tablename, String primarykey, Integer primaryval, HttpSession session);
}
